@import 'lib.less';
.container {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
  min-width: 1200px;
  .header {
    height: 60px;
    .font1(14px,60px);
    .BC(@blue-1);
    color: @white-1;
    .userinfo {
      text-align: right;
      padding-right: 35px;
      float: right;
      .userinfo-inner {
        cursor: pointer;
        color: @white-1;
        img {
          .boxSize1(40px);
          .borderRadius(20px);
          margin: 10px 0px 10px 10px;
          float: right;
        }
      }
    }
    .logo {
      height: 60px;
      .font1(22px,60px);
      padding-left:15px;
      padding-right:20px;
      padding-top: 20px;
      img {
        float: left;
        width: 150px;
      }
      .txt {
        color: @white-1;
      }
    }
    .logo-width{
      width: 230px;
    }
    .logo-collapse-width{
      width: 60px;
    }
    .tools{
      padding: 0 23px;
      .boxSize2(14px,60px);
      .font1(14px,60px);
      cursor: pointer;
    }
  }
  .main {
    display: flex;
    position: absolute;
    top: 60px;
    bottom: 0;
    overflow: hidden;
    aside {
      >.el-menu>li.el-menu-item{
        color: @light-gray-3;
        border-bottom: 1px solid @black-3;
        height: 45px;
        line-height: 45px;
        &:hover, &:focus{
          color: @white-1;
          .BC(@black-4);
        }
        i{
          font-size: 15px;
          color: @light-gray-3;
        }
        &.is-active{
          color: @white-1;
          .BC(@blue-3)!important;
          i{
            color: @white-1;;
          }
          &:hover,&:focus{
            .BC(@blue-3)!important;
          }
          .selected {
            display: block;
            float: right;
            position: absolute;
            right: 0;
            top: 10px;
            background: 0 0;
            width: 0;
            height: 0;
            border-top: 12px solid transparent;
            border-bottom: 12px solid transparent;
            border-right: 12px solid #fff;
          }
        }
      }
      .el-menu{
        height: 100%;
        border: 0;
        .BC(@black-4);
        padding: 15px 0;
        .sidebar-search-wrapper .sidebar-search {
          padding: 0;
          margin: 22px 18px;
          .input-group{
            border-bottom: 1px solid @black-3;
            .form-control{
              border: 0;
              .font2(14px,normal);
              padding: 0;
              height: auto;
              .BC(@black-4);
              color: #4e5d6f;
            }
            .input-group-btn {
              float: right;
              a{
                i{
                  color: #4e5d6f;
                  font-size: 15px;
                }
              }
            }
          }
        }
        .is-opened{
          .el-submenu__title{
            color: @white-1;
            .BC(@black-6);
            i{
              color: @white-1;
            }
            &:hover,&:focus{
              color: @white-1;
              .BC(@black-6);
            }
          }
        }
        >li.el-submenu{
          color: @light-gray-3;
          border-bottom: 1px solid @black-3;
          &:hover, &:focus{
            color: @white-1;
            .BC(@black-4);
          }
          i{
            font-size: 15px;
            color: @light-gray-3;
          }
          .el-submenu__title{
            height: 45px;
            line-height: 45px;
            color: @light-gray-3;
            &:hover,&:focus{
              color: @white-1;
              .BC(@black-6);
            }
          }
          .el-menu--inline{
            .BC(@black-4);
            padding: 10px 0;
            .el-menu-item{
              height: 35px;
              line-height: 35px;
              margin: 2px 0;
              color: @light-gray-2;
              letter-spacing: 1px;
              &.is-active {
                color: @white-1;
                .BC(@black-5);
                &:hover,&:focus{
                  .BC(@black-5);
                }
              }
              &:hover,&:focus{
                color: @white-1;
                .BC(@black-5);
              }
            }

          }
          &.is-active{
            .el-submenu__title{
              color: @white-1;
              .BC(@blue-3)!important;
              i{
                color: @white-1;;
              }
              &:hover,&:focus{
                .BC(@blue-3)!important;
              }
            }
            .selected {
              display: block;
              float: right;
              position: absolute;
              right: 0;
              top: 10px;
              background: 0 0;
              width: 0;
              height: 0;
              border-top: 12px solid transparent;
              border-bottom: 12px solid transparent;
              border-right: 12px solid #fff;
            }
          }
        }

      }
    }
    .collapsed{
      width: 60px;
      padding: 10px 0 10px!important;
      z-index: 99999;
      .item{
        position: relative;
        &:hover{
          width: 236px;
          .el-submenu__title{
            i{
              color: @white-1;
            }
            color: @white-1;
            .BC(@black-6);
            .title{
              display: inline-block;
            }
          }
        }
        .el-submenu__title{
          .title{
            padding-left: 28px;
            letter-spacing: 1px;
            text-align: right;
            display: none;
          }
        }
      }
      .submenu{
        position:absolute;
        top:45px;
        left:60px;
        z-index:99999;
        height:auto;
        display:none;
        .BC(@black-4);
        margin-left: 1px;
        padding: 0;
        .el-menu-item{
          height: 35px;
          line-height: 35px;
          margin: 2px 0;
          color: @light-gray-2;
          letter-spacing: 1px;
          min-width: 175px;
          padding-left: 15px!important;
          text-align: left;
          &.is-active {
            color: @white-1;
            .BC(@black-5);
            &:hover,&:focus{
              .BC(@black-5);
            }
          }
          &:hover,&:focus{
            color: @white-1;
            .BC(@black-5);
          }
        }
      }
      /*.item+.item:hover{
        .submenu{
          top:46px;
        }
      }*/
    }
  }
  .menu-collapsed{
    flex:0 0 60px;
    width: 60px;
  }
  .menu-expanded {
    flex: 0 0 230px;
    width: 230px;
    .el-menu {
      width: 100% !important;
      height: 100%;
    }
    .el-submenu .el-menu-item {
      min-width: 0 !important;
    }
  }
  .content-container {
    flex:1;
    overflow-y: auto;
    .breadcrumb-container {
      border-bottom: 1px solid @light-gray-1;
      padding: 5px 20px;
      .title {
        float: left;
        margin: 0;
        .font1(20px, 35px);
        font-weight: bold;
        color: @black-6;
        font-family: "幼圆", "Microsoft YaHei", "PingFang SC", sans-serif;
      }
      .breadcrumb-inner {
        float: right;
        .font1(14px, 35px);
        span{
          font-weight: normal;
          color: @gray-4;
        }
      }
    }
    .content-wrapper {
      background-color: #fff;
      box-sizing: border-box;
      padding: 20px 10px;
      @media (min-width: 992px){
        padding: 20px;
      }
      .main-section{
        .label{
          margin-right: 5px;
        }
      }
      .el-form--inline {
        .el-form-item{
          margin-bottom: 10px;
        }
      }
      .el-dialog{
        min-width: 450px;
        max-width: 660px;
        .el-dialog__body{
          .el-form-item{
            .el-select,
            .el-date-editor--year,
            .el-input{
              width: 100%;
            }
          }
        }
        .relevancy-form-box{
          .el-form-item{
            .el-select,
            .el-date-editor--year{
              width: 49%;
              margin-bottom: 3px;
            }
          }
        }
      }
      .el-card{
        .borderRadius(5px);
        //.border(1px,@blue-3);
        /*.el-card__header{
          padding: 10px 20px;
          .BC(@blue-3);
          .filter-form-box{
            .el-form-item{
              .el-form-item__content{
                .el-button--mini{
                  padding: 8px 10px;
                  background-color: transparent;
                  border: 0;
                  color: @white-1;
                  font-size: 14px;
                }
                .el-input-group__prepend{
                  background-color: transparent;
                  border: 0;
                  border-right: 1px solid @light-gray-1;
                  .el-input__inner{
                    vertical-align: 1px;
                  }
                }
                .el-input__prefix,.el-input__suffix{
                  i{
                    color:@white-1;
                  }
                }
                .el-input__inner{
                  background-color: transparent;
                  color: white;
                  border: 0;
                  border-bottom: 1px solid @white-1;
                }
              }
            }
          }
        }*/
        .el-card__body{
          .toolbar{
            .BC(@white-1)
          }
        }
      }
      .filter-form-box{
        &.advanced-search-form{
          margin-top: 10px;
        }
        .el-form-item{
          margin-right: 5px;
          margin-bottom: 0;
          .el-form-item__content{
            line-height: inherit;
            .el-button--mini{
              padding: 8px 10px;
            }
          }
        }
      }
    }
  }
}